package com.itboye.ihomebank.bean;

import java.util.List;

/**
 * 房源区域
 * 
 */
public class QuYuBean {

	private String code;// 城市编号
	private String name;// 城市
	private String is_hot;// 是否热门
	private String abbr;// 全拼

	private List<Children> children;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIs_hot() {
		return is_hot;
	}

	public void setIs_hot(String is_hot) {
		this.is_hot = is_hot;
	}

	public String getAbbr() {
		return abbr;
	}

	public void setAbbr(String abbr) {
		this.abbr = abbr;
	}

	public List<Children> getChildren() {
		return children;
	}

	public void setChildren(List<Children> children) {
		this.children = children;
	}
	
	@Override
	public String toString() {
		return "QuYuBean [code=" + code + ", name=" + name + ", is_hot=" + is_hot
				+ ", abbr=" + abbr + "]";
	}

	/**
	 * 区域
	 * 
	 */
	public static class Children {
		private String code;// 区域编码
		private String name;// 城区名字
		private String is_hot;// 是否热门
		private String abbr;// 全拼

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getIs_hot() {
			return is_hot;
		}

		public void setIs_hot(String is_hot) {
			this.is_hot = is_hot;
		}

		public String getAbbr() {
			return abbr;
		}

		public void setAbbr(String abbr) {
			this.abbr = abbr;
		}
		
		@Override
		public String toString() {
			return "QuYuBean.Children  [code=" + code + ", name=" + name + ", is_hot=" + is_hot
					+ ", abbr=" + abbr + "]";
		}

	}

}
